package org.tlipoca.smsteamachievement.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.genntii.smdomain.entity.SteamAchievement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.tlipoca.smsteamachievement.mapper.SteamAchievementMapper;
import org.tlipoca.smsteamachievement.service.SteamAchievementService;

import java.util.ArrayList;

@Slf4j
@Service
public class SteamAchievementServiceImpl extends ServiceImpl<SteamAchievementMapper, SteamAchievement> implements SteamAchievementService {

    @Autowired
    private SteamAchievementMapper steamAchievementMapper;

    @Override
    public ArrayList<SteamAchievement> getAchievementByAppidService(Integer appid) {
        return steamAchievementMapper.selectAchievementByAppid(appid);
    }
}
